package com.jk.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jk.entity.BankCardEntity;
import com.jk.entity.BusinessEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 位佳生
 * @title: BankCardDao
 * @projectName springboot_financial
 * @description: TODO
 * @date 2022/11/716:41
 */
@Repository
public interface BankCardDao extends BaseMapper<BankCardEntity> {

    void saveBankCard(BusinessEntity businessEntity);

    BankCardEntity selectBankById(@Param("t_bank_code") String t_bank_code);

    List<BankCardEntity> selectBankCardById(@Param("user_phone") String user_phone);
}
